﻿using System;
using System.Collections.Generic;
using rlTodayMakeSkin.GUI;
using rlTodayMakeSkin.Project.XmlElement;

namespace rlTodayMakeSkin.Project
{
    /// <summary>
    /// Interfaces that represens the surface where skin elments
    /// will be drawed.
    /// </summary>
    public interface ISkinDisplay
    {
        /// <summary>
        /// Adds a new element in the skin display
        /// </summary>
        /// <param name="el">Xml element to add</param>
        /// <param name="blnSelect">true if element have to be slected, false otherwise</param>
        void addSkinElement(rlTodayXmlElement el, bool blnSelect);

        /// <summary>
        /// Returns all elements in the current screen
        /// </summary>
        /// <returns>an array of SkinControl</returns>
        SkinControl[] getSkinElement();

        /// <summary>
        /// draws all elements in the screen
        /// </summary>
        void drawAll();

        /// <summary>
        /// Sets, gets Height of skin display
        /// </summary>
        int Height{set; get;}

        /// <summary>
        /// Sets, gets width of skin display
        /// </summary>
        int Width{ set; get;}
    }
}
